home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
util
/
misc
/
StripHunks.readme
< prev
next >
Wrap
Text File
|
2000-05-02
|
4KB
|
80 lines
Short: V1.9 CLI tool to strip useless hunks
Author: stoecker@amigaworld.com (Dirk Stoecker)
Uploader: stoecker@amigaworld.com (Dirk Stoecker)
Version: 1.9
Type: util/misc
This program removes most time useless parts of executable files:
- HUNK_DEBUG hunks
- HUNK_SYMBL hunks
- HUNK_NAME hunks
- empty HUNK_RELOC32, HUNK_DREL32 and HUNK_RELOC32SHORT
- empty DATA/CODE/BSS hunks, when it is the last hunk
When there are empty hunks at other places than the last one, you get a
short information.
Use it with care! Sometimes the files will not work after stripping these
hunks, so test it.
SYNOPSIS: StripHunks FILES/M,ONLYSHOW/S,ALL/S,SORT=SORTRELOC/S,NOSTRIP/S,
NSE=NOSTRIPEMPTY/S,NSN=NOSTRIPNAME/S,
NSD=NOSTRIPDEBUG/S,NSS=NOSTRIPSYMBOL/S,
NSR=NOSTRIPRELOC/S,SBW=SORTBACKWARDS/S,
NSO=NOSORTONLY/S:
FILES: The file/files which should be processed. Wildcards are supported.
ONLYSHOW: The program does not save the stripped files back to disk.
ALL: Scan sub directories as well.
SORT: Sorts relocation entries from lower to higher values. This may
save space on older programs, as they sometimes have splitted
relocation entries.
NOSTRIP: Disables all stripping.
NSE: EMPTY hunks are not stripped.
NSN: NAME hunks are not stripped.
NSD: DEBUG hunks are not stripped.
NSS: SYMBOL hunks are not stripped.
NSR: RELOC information is not stripped.
SBW: With SORT keyword reloc is sorted from highest to lowest number.
NSO: Does ignore SORT option for files, which get not shorter.
Files with unknown structure show a warning and are not processed. Non
executable files are ignored.
NOTE: It may destroy files to strip EMPTY, DEBUG or SYMBOL hunks, but it
should work for lot of files. I do not know files, where stripping NAME
hunks or relocation information caused errors.
Sorting the relocation entries should not produce any problems as well,
but it is useful to compare two files byte for byte, as some crunchers
sort relocation information as well.
Please report me bugs, comments, suggestions and problems. If possible
write a little mail if you use the program sometimes. If there are some
Enforcer hits or other problems report them as good as possible.
Use it as you want, but WITHOUT ANY WARRANTY!
Please contact me:
************************************************************************
* snail-mail: * e-mail: *
* Dirk Stoecker * stoecker@amigaworld.com *
* Geschwister-Scholl-Str. 10 * dstoecker@gmx.de *
* 01877 Bischofswerda * world wide web: *
* GERMANY * http://home.pages.de/~stoecker/ *
* phone: * pgp key: *
* GERMANY +49 (0)3594/706666 * get with finger or from WWW pages *
************************************************************************
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
3567 1568 56.0% 01-Apr-00 12:47:34 +SDI_defines.h
16395 4058 75.2% 01-Apr-00 12:47:34 +StripHunks.c
4064 2453 39.6% 01-Apr-00 12:47:34 StripHunks
3060 1310 57.1% 01-Apr-00 12:47:34 StripHunks.readme
-------- ------- ----- --------- --------
27086 9389 65.3% 02-Apr-100 14:41:18 4 files